package dispatcher.misc;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.imageio.stream.FileImageInputStream;

/**
 * This class holds a list miscellaneous global values specific to just the GUI
 * @author Caleb
 *
 */
public class MiscGlobals {
	/**
	 * The static copy of a stick figure image
	 */
	public static BufferedImage STICK_IMAGE;
	static {
		try {
			STICK_IMAGE = ImageIO.read(new FileImageInputStream(new File("stick_figure.png")));
		} catch (IOException e) {
			System.out.println("Image Not Found " + (new File("src/dispatcher/misc")).getAbsolutePath());
			e.printStackTrace();
		}
	}
}
